Fix the overflow issue due to title margin
Add a simple test to the if mobile or not