switches imag tag on before-after photos, moves function to dismiss content on earthquake map