Fixed handling of single, leftEdge and rightEdge classes on close and slides add.