use const and not hardcoded value for offlineAlertOffset