added buttons to hide panels