using relative paths for resources to work on phones; fixed collapse jumping issue