addItem function made
Fixed map movement