fix prev/next post and fancybox links