Floating table header enabled

1. Fixed the bug of extra } done by CJRamki@MCS;
2. Added the option to enable floating table header <thead>.