How to rotate an image in css animation