fix #23. add resize button on nav bar.