changes for buttons and display posts on descending order