Set wrapper height before adding stuck class to the sticky element

Fixes issue #341 (https://github.com/imakewebthings/jquery-waypoints/issues/341).