thumbSize = function(outer, inner) {
            return Math.floor(Math.min(Math.pow(outer, 2) / inner, outer));
        }
Get thumb size
@param {[type]} outer [description]
@param {[type]} inner [description]
@return {[type]} [description]