Removed unused commented code
Made header components for compare page only appear on compare page