Beware when using CSS Animation on a Telerik Platform App

I recently used Telerik Platform ( to build my first mobile game (Wah! It was a bit of an experiment as I didn't know how well a game built with HTML, CSS and JS would work out on a mobile device. While I feel I have plenty of room for improvement, overall I think the test proved a success. I'm just going to write about one issue I had while attempting to improve the performance of the animations in my game.

Vertical Responsiveness (using jQuery)

Just a quick post on a simple way to make an element vertically responsive using jQuery. I originally used this for a sidebar which was position:fixed; and so I needed to ensure the height was correct to fit perfectly between an fixed header and footer.

Implementation is fairly simple and includes just 3 sections of code.