we should probably be intelligent and set things to legacy if overlay scrollbars are missing. Do we seriously need a dep here?