Reorganized code and fixed margins, allows scrolling for images too big
for the browser