removed transition direction def in html, as it is now handeled by code