Add functionality for managing slides