Messing with making only one resize event