The dams overflowed and the floods in Periyar submerged these three districts