Added a contrast transition in slider