Fixed bug with portfolio gallery in IE