Encorporates the margins correctly into resize functionality
Fixes merge of gridster.min.js with rebuild