A sliding gate for controlling flow of water