Next shape

code to implement next shape preview