if only one slide fix