fixed popup styles to work on mobile and desktop