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

Closes gh-7228
Fixes gh-7227