add ruler space UI