added animation arg to slide method
added infiniteCycle option & beforeSlideCallback callback method