update sizing and positioning; core-overlay now makes sure the target element does not overflow the window.