cleaner way of calculating sizes for inputs and textareas. remove unecessary style binding for width calculations