fixing issue #11
adding pos argument to moveComponent #5