`scrollHeight` will need `attr`. A good rule of thumb is that if you're playing with Boolean values `prop` can be used.