slider working in descending order