attempt at JS mouse leave fix

added in some code for mouse leave fix on thumbnail1