Bugfix. When elements get clicked (not swiped): TypeError: maximumsMap[direction] is undefined