split frame v/h, next/prev frame command. simple fraction class