added simple animations to draw function