empty preview bar on irrelevant pages