implemented a smooth moving algorithm. Needs tweaking yet.
fixed a button glitch i accidentally created