Revert "Fix slider"

This reverts commit 0f40c848b00193572cd9ea9b0625ae2dc40b474b.