improved drawing of notifications