Overrided onMeasure method to allow Carousel placement inside views/layouts