adding resize directivw