Made it so you can pass in a boolean to stop resizing to window