initial js scroll script in responce to JOINDIN-411