Fixed the cosmetic issue while clicking on the last link in the pagination