started work on vertical flipping for sprites