fix adding new slides to stack