added vertical display support