use css styles to manipulate displaying of panels.
Remove unneeded code.
Refactor styles:
  move common to top
  add each cycle for generating fullscreen styles in one place.
Fix bug with position of navigation panel in fullscreen mode.
Fix problem with not showing images in fullscreen after showing all images.
File dialog was not always opened on O press.