tweaks to content css and fix the click event binding