Got sliding working.
Still crashing and getting weird image sizes.