Finished writing viewthread controller

Also made some changes for view all threads in feed page.