Fix toggling document scrollability