fixed scrolling problem and added styles