Resizes the browser window to match customizable dimensions