added mobile view support