modify location to be a percentage of the window height