Fixed a layout problem on director pages
Added device detection (Mobile_Detect)