updated css and altered some functionality