Change list mouse click behaviour, position list correctly when searching and when position=top