hiding #page if inactive