set onload handler to resizeMask so images won't mess with the height of the damn thing