got some first page switching working