Added horizontal and vertical flipping tools.