scroll into view if needed after overlay resize