Fix CSS for base layout and JS for notifications

  - switch to flex box model for header, content and footer
  - restore notifications feature that was accidently removed before