Auto hide forward and backward buttons