add open & close panel