Borussia Mönchengladbach turned on the style on Matchday 34 as they ended the campaign with a thumping victory over Hoffenheim.