fixed css
Fixed the javascript implementation