load js position and change scroll action