Added property to toggle on/off the the custom frame