finally fixed the perspectives through screenwidth based perspectives