I'm using the following jQuery function to smoothly scroll to page sections:

```
function scrollTo(element) {    
    //$('html, body').animate({           // before the addition of jscrollpane
    $('#full-page-container').animate({   // after addition of jscrollpane
        scrollTop: $(element).offset().top
    }, 1500);
}

```

I've added [jscrollpane](http://jscrollpane.kelvinluck.com/fullpage_scroll.html) to replace the default page scrollbar, and it seems that the *animate* function with *scrollTop* above won't work with jscrollpane, but works flawlessly without it.

Is it possible to use both jscrollpane and *animate* with *scrollTop* ?