Update threadIsPendingSidebar to handle thick sidebars
Summary: This differential updates threadIsPendingSidebar to handle thick sidebars as well
Test Plan: Test was added to thread-utils.test.js
Reviewers: inka, tomek
Reviewed By: inka, tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D13274