First pass at handling for "previous" link generation.