seperate css and js files and add a sidebar