Made stuff more responsive to rescaling the browser window