add resizable directive