Added next and prev post functionality.