add "resizeHeight" flag. default is false. Set to true to keep current behavior. Fix missing semicolon.