renamed getScreenDimension to screenDimensions