ENYO-3391: replace function resize by resizeOnEvent

Related JIRA: https://enyojs.atlassian.net/browse/ENYO-3391

Tested on W7, Chrome.

Enyo-DCO-1.1-Signed-off-by: Olga Popova <olga.popova@hp.com>