Added animation queue

*work in progress* animation queue added. Also added functions for
stopping the animation.