multi-functional jQuery slider