Handling resize mode and start up location