Added pagination functionality and css for pagination dots.

Added pagination functionality and css for pagination dots.

pagination can be enabled by passing <code>pagination:true</code> while initializing.