Changed pagination (can be controlled with button classes now)