Fix a lot of layout problems; update ui-bootstrap