Implement droppedWhile