Fixed some bugs dealing with the contentsize expnading too quickly. Simplified some logic and removed some redundant code. Added logic for horizontal expansion vs vertical.
Todo: Slide the view as the tag is being typed in.