fixed the styling on home and refer pages