Playing around with CSS animations and jQuery