trying to fix more stuff with css and add javascript