Create scrollDirection.js