adjust layout with action bar