popup pic position optimized