bootstrap panels and some uncessessary nesting removed