Fixed image sizes and urls + improved javascript for mobile