moved code into functions, added marker active state in css and code,
added active state to click in left column.