Added resize to slate