Add preliminary scroll direction support

Layouts have not implemented this yet.