minor other css changes and factoring out things for easy modification