Fixed issue with only one slide