Fixing story board move function