fix for no pagination showiung on threads page, and removal of sidebar div on search results page