using viewport dimensions in initial skeleton position