updated overlay to add a screenDestroyed method