Fixed resizing slide bug