added js function scroll