removed getting the parent if the mouse was clicked on a span, it is not needed anymore due to the CSS rule pointer-events: none on spans.
proper foundation handling.
Todo: handling of empty tableau spots, allowing Kings.