working on transition to autolayout code to support device rotation