error safe validation for a scroll property