How does the slide know to lock to the rear on empty?