only show page menu if sidebar has contents