Thanks Jean-Roch Meurisse. Added 'activity_navigation.mustache' in theme templates folder and replaced '{{ > core/action_link }}' with '{{ prevlink.url }}' and it worked liked a charm.
Thanks a lot for all the help, really appreciate it.
Thanks a lot for all the help, really appreciate it.