solved gallery images problems, now scaling with max-width:100% method