Click outside to hide the compare bar