move target to the left of query and tweak styles