If at the end of any fiscal year there should remain a balance in the school district fund of any school district which is not needed and is not to be used for paying the expenses properly payable out of such district fund for the preceding fiscal year, such balance shall be carried forward as a part of the school district fund for the next fiscal year and used and expended in the manner otherwise provided by law. Nothing in this section shall be construed as applying to balances remaining in the minimum education program fund of a school district, and balances remaining in such funds shall be governed by Section 37-61-5.