updated to bootstrap 3 and fixed most functionality