adjuste css and remove unnecessary code