Using CSS animation for mobile graphics