A simple directive to fetch current display mode.