animation and slider modification