adding the scroll function and fixing all the responsive issues for the smaller screens