LPS-42070 Toggle notice visibility to prevent it to show on resizing