Generic SamsonJS module for vertical menu smooth scrolling