Added vector which holds each elements position, changed css classes, restructured.