added slides functionality
small bugfix