Added code for screenshot/animation

Signed-off-by: Ian bell <ian.h.bell@gmail.com>