fix rendering. added momentum pan. added limits