         incomingAvatarSize = CGSize(width: 30, height: 30)
         outgoingAvatarSize = CGSize(width: 30, height: 30)
         messageContainerInsets = UIEdgeInsets(top: 7, left: 14, bottom: 7, right: 14)
+        messageToEdgePadding = 30.0
         super.init()
         sectionInset = UIEdgeInsets(top: 4, left: 8, bottom: 4, right: 8)
     }


        let containerHeight = containerHeightForMessage(message: message)

        let avatarSize = avatarSizeFor(message: message)
        let insets = messageContainerInsets.left + messageContainerInsets.right
        let availableWidth = itemWidth - avatarSize.width - avatarContainerSpacing - insets

        // This is a switch because support for more messages are to come
        switch message.data {


    func containerHeightForMessage(message: MessageType) -> CGFloat {

        let avatarWidth = avatarSizeFor(message: message).width
        let insets = messageContainerInsets.left + messageContainerInsets.right
        let availableWidth = itemWidth - avatarWidth - avatarContainerSpacing - messageToEdgePadding - insets

        // This is a switch because support for more messages are to come
        switch message.data {
