Re-factor code adding methods "idealNumberOfHorizontalItems", "idealNumberOfVerticalItems" and "idealNumberOfItems"
Re-factor code adding methods "idealNumberOfHorizontalItems", "idealNumberOfVerticalItems" and "idealNumberOfItems"

midasplatform/slicerappstore,midasplatform/slicerappstore,midasplatform/slicerappstore