Changed 'style' to 'position'. Added resetOnMouseUp option