enable window auto hide.