Kenmore Dryer 110.76922501 how to open top

Hi. Can someone explain how to open the top of Kenmore Elite Dryer 110.76922501. The lint trap is by the door. I am trying to replace the door switch. It does not look like the end caps can be removed easily and am nervous about trying it and breaking them. I wanted to post photos of the top and back of the top panel but I don’t see a way to add them to this post. Thanks.