Cleaned up table of contents float functionality.