centered the slate #3

also improved slate layout logic