This gets very complicated, very quickly, but put simply:
* Individual sodium and potassium ions can (and will) move in any direction across the leak channels.
However, most sodium ions will tend to move into the cell through these channels, as sodium is more concentrated in the extracellular space. So, if we add up the movements of all the individual ions, there's a tendency towards movement into the cell.
For potassium, there's a tendency towards net movement out of the cell through these channels as there is a greater concentration of potassium inside of the cell.
*However, until resting conditions, the permeability of the cell membrane to both sodium and potassium is very low.
There just aren't that many leak channels. So the total amount of movement is relatively small. And ion movement at these channels is compensated for by other processes, including sodium-potassium exchange. This keeps the membrane potential at a steady value.
---------------------------
Where all this starts getting interesting is when the membrane potential begins to change, and voltage-gated channels start opening more often, and the permeability to sodium (or potassium) becomes greater. Then we start dealing with larger sodium, potassium, and calcium fluxes, and greater changes in the membrane potential.