Two students were cartwheeling in the corridor of a school