Added support for alternative mainContainer. Mobile solution for sticky table header is buggy right now.