updated css, and psedo-coded some javascript