Added callback for after reBuild to prevent duplicate afterResize method when used manually.