fixed deleting first slide bug, clearing everything renders slide useless bug