setting frame for controller and nav bar on every rotation removed