• fixed preventing submenu going beyond the viewport