Add screen-resize/fullscreen code.