Popup Display -- Mobile

Fix popup behavior on mobile devices.