setting disabled height to document height