PIM-3150: fixed bug for non-shown previous button