fixed orientation change bug when buttons are hidden

fixed orientation change bug when buttons are hidden