Move the popup description when too close to edge

Description displays on the right side of the popup if it would otherwise
try to display it off-screen.