new method _getSize to calculate the numeric value of slide dimensions