fixed iPhone rotation bug and changed the forward and back buttons