added gallery to pages