porting actionbar