move WML [scroll] implementation to lua