[Slate] Decompose slate config
[Slate] fix some bugs, resize 1/2 or 2/3 based on screen size