refactor attack grid, swipe events