Devices and mechanisms for ophthalmic drug delivery