fix slider going over