fixed a bug with double navbar in chat screen