fixed no css and js glitch and improved css