implements tiles rotation animation