better animation
coffeescript verison