Forked to modify for bootstrap 3