changed default bidirectionaly panning recognization, now supports pan to just one direction in case that icons and colors for the other are not set