Corrections to portfolio prev and next buttons