Fix spark-split-view for direction=right and direction=down

TBR