Trying to extract layout stuff from PandaCarousel. Currently broken