Updated method to change direction if there is no more customer ahead or
needing to get off.