Active page now displays properly