updated to work with bootstrap 3.x