added frame buffer dimensions as constants