preventing rotation in first page