wire up view button for posts