add throttle to resize event
add throttle to resize event