fixed typos and added portrait mode freeze