added padding to pageContent and fixed resulting alignment issues