Updated layer move function for non isometric maps and added optional distance
Updated layer move function for non isometric maps and added optional distance