Fixed action bar disappearing at wrong time. Upgraded support library to get new swipe to refresh layout view.