some clean up and now mainactivity is in only in portrait mode