Adjust item and detail width
Fixed main_with_sidebar bug when update failure