misc
performance improvements for shift/alt
refactor using manual gesture processing and core animation