Javascript multi-view targeted at tablets