[index] fix padding at top by invoking foundation js correctly