Check referrer to avoid showing the info pane too much, tweak content styles