updated to work with bootstrap 3