Multifunctional optofluidic lens with beam steering