Added tablet menu support.