Return from slider early if there are no slides