Implemented below mentioned changes :

1. Now ajax will be sent only once.
2. Load the respective div with data and hide it.
3. Then applied hide/show funciton to hide/display the blogPost.