added very stupid motion tracking
made tracking smarter