update Gemfile
use media query for index portrait mode