styling chat centering image and getting proper time