code: private void hideButtons() {
          if (areButtonsShowing) {
              buttonContainer.clearAnimation();
              buttonContainer.startAnimation(slideDown);
              buttonContainer.setVisibility(View.INVISIBLE);
              areButtonsShowing = false;
          }
      }
docs: Method that hides the sliding panel