action bar on toggling implemented