Added legend and zoom effect