added tile flipping animation