implementation for an alternative menu on small devices