added throttle on app resize