fixed broken if statement and changed image sizes