Added double-click-to-enlarge functionality