Refactored JS (made popUp function to keep code D.R.Y).
Made page unscrollable when popup is active (using CSS classes)