Fixed issue in Standalone Framework where event were triggered in reversed directions, causing JS errors in Highstock. Closes #2220.