reinstate opacity change for document on mobile when it's not focused