added ability to show or hide columns dynamically