SwingDisplayPanel: ignore length 1 axes

Added a check for length 1 axes to avoid creating sliders for them, as
there is nothing to slide.

May not be the best place for this solution.