Added Next and previous capcbilities in engine.