adding center css and Js feature