added css and js to give functionality