hide previews bar on irrelevant pages