moved listeners into panel classes