refactoring
add hiding on message double click