Modified so that the app no longer rotates and only works in portrait mode