add gradient for input slider