menu optimized: delay(timeout) added, animation stopping added.