added over-complicaetd flipped sprite routine hack rather than flipping the sprites as per previous tradition