profile layout style update, added popover scripts to base_snippets/head_scripts