smooth css animation by forcing hardware acceleration