CustomPanel initial setup