Fix disappearing slides on resize

Preventing the update method from running in the middle of a transition resolves the issue of slides disappearing in the middle of an animation while resizing.