Slim-fit trousers are tough that way. When you bend your legs, your thighs thicken. If it stretches the fabric around your thighs at all, the pant leg will actually physically get shorter.
Like borderline said, getting pants with stretch may help. Otherwise you will need to find slim fits that fit your thigh when your legs are bent.