Fixed force_appear w/ optional scrollable viewports

Updating @dopa's pull request so that force_appear works with optional scrollable viewports.