added grid and refactored side and top bars