adapt for use with Bootstrap 3