adding pan controls to close #143