Changed direction after 5000 points reached refactored score tracker