proper method to detect tablet

previous commit wasn't working, because my understanding about user
agent was wrong. In this commit density dp is used to identify tablet.
Considering anything equal and above 600dp as tablet.
http://developer.android.com/guide/practices/screens_support.html#ConfigurationExamples