Added some helper methods for animation

Signed-off-by: Martin Evans <martindevans@gmail.com>