changed viewpost and added new search layout