Moving shape and pause option