Update core.js (for swipe menu)

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