With an investment horizon which could still run to more than two decades, stocks can remain a part of your retirement plan