fixing how view pages display