Right now I am using a ScrollTo plugin as demonstrated in this fiddle. If you press the back/next button it will scroll you to the next post. The problem is that I have a fixed navigation bar and it blocks the posts. I did some research, both here and on the plugin author's blog and I learnt that you have to add an "offset" option. So I turned this
if (scroll) {
$.scrollTo(scroll, {
duration: 750
});
}
into
if (scroll) {
$.scrollTo(scroll, {
offset: -50
duration: 750
});
}
However this just breaks the plugin and it stops working comepletely. I tried some other options as suggested by related posts but none of the methods worked.
/Tony