Add API to show and hide windows