refactor update UI to keyboard orientation into view methods