tab layout for messages