Added responsiveness to popups