added check for notification bar