irnc/jquery-mobile — comment on commit b922848cd8661e5f258fbabe4177f90625caae0b
File: js/jquery.mobile.navigation.js line 404
By irnc:

Yes, it can be simplified, I missed this.

I see your point about floating function. In this regard what do you think about replacing `data-direction="reverse"` attribute with `data-reverse="true"`? If I understand correctly there are only two possible directions of a transition: direct and reverse, with direct being a default. In this case we can check for `$element.jqmData( "reverse" )` which will evaluate to `true` for elements requesting reverse direction.