merging side-scroller example