hiding viewer buttons