updated the cursor type to more generic resize pointer