adding alert to debug if and when resize is triggered