Added borderless and fullscreen function