Fix layout for the top mobile menu close #1266