Adding resize method to restore menu status on window resize also phone
rotation