popup content scroll and close-button fix