FruitMachine helper that allows different setup and teardown callbacks to be called based on media queries