Snap to sidebar + new text size algorithm