Fixed broken scroll.

Moved CSS and JS code to separate files.