Implemented cursor behaviour when ajax starts and ends.