constrains and fullscreen