clean up css & layout to unify behavior on non-chrome browsers. remove some nested flex elements to improve firefox performance