chodzić po głowie

Etymology
lit. 'to go about [one's] head'.

Verb

 * 1)  to have in mind
 * 2)  to go around in one's head