fix container scrolling (derived from https://github.com/bertramdev/ng-labs-infinitescroll)