Responsive and popup functionality