Fixed Scaling issues with #projects section

set max width and max height in jquery