added some css transition styles stuff to dom, probably gonna be relocated