Touch up the code
Fix issue where clicked on children of pages resulted in misplaced selected class