trying to make popups mobile friendly