add the function of manual marquee on pictures