Refactored the panel out of the PageMan for later use