Tidying up navigation flag button

Flag button now aligns correctly, and no-longer uses a bodge form for
page referrer.  Fixes #40