onResize = function(){
				var jRef = that.$();
				if (that.getCenterHorizontally()) {
					jRef.css("margin-left", "-" + jRef.children().outerWidth() / 2 + "px");
				}
				if (that.getCenterVertically()) {
					jRef.css("margin-top", "-" + jRef.children().outerHeight() / 2 + "px");
				}
			}
Cleans up and optionally reinitalizes the event handler registrations of the element.

@private