Added basic animation loop