setup pages on background