refactor ton CSS and JS

- arrow now working