tilelayer gen and scrolling