Updates to css, refactored category display code