add removing func for element panel

minor UI changes