works in fullscreen or smaller