solved slider problem