added removing element from panel when image disappear from DOM