I think element.animate would be simpler here