Hacked to work with megascroller