A State Space Approach to Dynamic Modeling of Mouse-Tracking Data