Based on the rollslider of jquery plugin