added bxOnResize