Corrected a bug in livesearch. Updated the views accordingly
#225 fixed assumption of ascending pixel values