Improved animation, improved when not using javascript