Views and Orientation

Code added to dynamically update views and to check current orientation
of screen