Cleaning up code for table header floating