Changing CSS to allow image to spin when selected