layout: resolving alignment issue for next-prev links