fix navigation bar button rotation problem