Hide correct pages