improved picture stuff

it goes crazy on firefox i dont get why