Variational approach for analysis of harmonic vibration and stability of moving panels