Correct compiler warning

Refs #10324
Correct scroll bar movement

Refs #10324