Bugfix for gallery keyboard navigation overriding slideshow keyboard navigation

There was a bug where the keyboard navigation is sill active when the slideshow is open. As long as the slideshow is open keyboard events should control the slideshow and not request previous or next pages (and thus always leave the slideshow).

Additionally keybord navigation is now usable on every page with pagination like album pages, not only single photo/movie pages.