finishing up better page selector