only show infos when viewing a page