My notification panel has a scroll bar

This calculation varies, with some message sets it can overextend depending on the titles of the messages. It’s a complicated thing.