fix problem with pop-up obscured on left side of screen