Prevented action bar from being pushed out of screen and removed unused ui elements