Now works on both http and https. Added drag here text.
I should really revisit this and organize it better and finish it.