Fixes cowboy#5 
Author: Surya Kumar via http://pastebin.com/dTSeLVfj
from his comments on:
http://benalman.com/projects/jquery-resize-plugin/
Merge branch 'master' of https://github.com/tkasten/jquery-resize