finish porting to bootstrap3