Looking for a way to set a variable based on viewport, but it doesn't work if not applied to a selector.