Support for page side boxes

Signed-off-by: Luke Oatham <lukeoatham@gmail.com>