Simple animation using sdl