Make fragments work with action bar.