modified gallery: added slideshow and fullscreen mode