add js functionality to deal with table header th tags in columns at mobile