added more responsiveness to thread.html