Handle scroll events on frame