Removed path scroll function