to remove slider