use vue for panel resize