Fixed reference navigation to not overlap footer.