Fixed the pop up windows to show all the content