Fixed switching to already selected slide