Update core.js

add externel function for scroll (swipe left menu on scrolled content)