Fixed layout bug in messages page