clean up posts and collapse sidebar