css changes

Changed the css around, made adding to dom more efficient