created reusable DeRezPanel component