Added next and previous arrows to picture viewer

Also added a test sprite.html file