Made compatible with bootstrap 3