added direct region zoom, change zoom functionality, changed sethoveroptions function to support gradients