core: add toggle fullscreen and improved css handling on fullscreen (refs #3)