fix some style and add sidebar