add buttons, move sidebar to bottom, change jpeg to png decode