added pixi rendering and resizing