removing excess slides and moving them to next class