change TextShow's setSidebarPosition method to use event.pageY instead of event.offsetY so that the content on TextShow is irrelevant