2d side scroller using libgdx