Fixed: performance issues

Things can still be improved but it's much better now.
I also found and fix a bug in sort algorithm.
You should cache the jquery object
     views = @$ @getItemViewSelector view # outside the loop