add jQuery ui and modify animation.