Issue #12 - added keepPosition param to resize function