Currently, I\'m trying to attain the behaviour as explained in this question.
Keep current page rendered until the next page is loaded
Also using the code from