Added options to show and hide the home and up buttons.