use Bootstrap to improve layout, added additional set_window_size to make functional_test work