Listview: Do not compute .first() if there is only one anchor
addFirstLastClasses: .not( ".ui-screen-hidden" ) -> custom function

http://jsperf.com/dot-not-vs-loop

Fixes gh-7227