bug fix resizing

bug fix for resizing of notification