fix issue #870

Let me know if this is a proper fix.

Added a check and resize on lazy loaded images.

Also, blocked the animation if no height is available. (could add an "animate" param to setPosition [?])